package org.shoukaiseki.aliyun.oss.constant;

import org.apache.commons.lang3.time.DateUtils;

import java.text.ParseException;
import java.util.Date;

public class AliyunOSSCoreConfigConstants {

    public static final Date OSS_EXPIRATION_TIME ;

    public static final Long OSS_EXPIRATION_TIME_LONG=7258003200000L;

    static {
        Date date;
        try {
            date = DateUtils.parseDate("2199-12-31","yyyy-MM-dd");
        } catch (ParseException e) {
            date=new Date(7258003200000L);
        }
        OSS_EXPIRATION_TIME=date;
    }

}
